\documentclass[svgnames,smaller]{beamer}
%\documentclass[handout,hyperref={pdfpagelabels=false}]{beamer}

%\usepackage{pgfpages}
%\pgfpagesuselayout{resize to}[a4paper,border shrink=10mm,landscape]
%\pgfpagesuselayout{2 on 1}[a4paper,border shrink=10mm]
%\pgfpagesuselayout{4 on 1}[a4paper,border shrink=10mm,landscape]
%\pgfpagesuselayout{8 on 1}[a4paper,border shrink=10mm]

\usepackage{listings}  \lstset{language=Java,backgroundcolor=\color{Lavender},frame=single,basicstyle=\footnotesize}
\renewcommand\lstlistingname{}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{amsmath}

\usepackage{beramono}

\let\Tiny=\tiny
\renewcommand{\emph}{\textbf}

\usetheme{CambridgeUS}
\useinnertheme{rectangles}
\usecolortheme{beaver}
\setbeamercolor{title}{fg=white,bg=darkred!80!black}
\setbeamercolor{itemize item}{fg=darkred!80!black}
\setbeamercolor{itemize subitem}{fg=darkred!80!black}
\setbeamercolor{itemize subsubitem}{fg=darkred!80!black}
\setbeamercolor{enumerate item}{fg=darkred!80!black}
\setbeamercolor{enumerate subitem}{fg=darkred!80!black}
\setbeamercolor{section number projected}{bg=darkred!80!black}
\setbeamercolor{subsection number projected}{bg=darkred!80!black}
\setbeamercolor{block title}{fg=white,bg=darkred!80!black}
\setbeamercolor{block body}{fg=black,bg=white!90!black}
\setbeamercolor{caption name}{fg=darkred!80!black}
\setbeamercolor{bibliography entry author}{fg=darkred!80!black}
\setbeamercolor{bibliography entry location}{fg=darkred!80!gray}
\setbeamercolor{bibliography entry note}{fg=darkred!80!white}

\setbeamertemplate{navigation symbols}{}

\setbeamertemplate{footline}{%
  \leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.433333\paperwidth,ht=2.25ex,dp=1ex,center]{author
    in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in
    head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.233333\paperwidth,ht=2.25ex,dp=1ex,right]{date in
    head/foot}%
    \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
    \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
  \end{beamercolorbox}}%
  \vskip0pt%
}

\title{Testautomatisierung}
\author{Stefan Rode, Dominik Nuszpl}
\institute{Universität Hamburg}
\date[02.02.11]{12. Juni 2012}

%Definitionsnummerierung
\newcounter{definitionCount}
\newcommand{\nextDefinition}{\stepcounter{definitionCount} Definition \arabic{definitionCount}: }

\mode<beamer>
{
  \AtBeginSection[]
  {
    \addtocounter{framenumber}{-1}
    \begin{frame}
      \frametitle{Übersicht}
      \tableofcontents[currentsection,hideothersubsections]
    \end{frame}
  }
}

\begin{document}

\pdfbookmark[2]{Titelfolie}{title}

\frame
{
  \titlepage
}

\frame
{
  \frametitle{Organisatorisches vorweg}
  
  \begin{center}
    \href{http://creativecommons.org/}{\includegraphics[width=2.5cm]{Bilder/cc}}

    \href{http://creativecommons.org/licenses/by-sa/3.0/}{\includegraphics[
      width=2.5cm ]{Bilder/cc-by-sa}}

    Diese Folien sind unter CC-BY-SA 3.0 freigegeben.

    \vfill

  \end{center}
}

\section*{Inhaltsverzeichnis}

\frame
{
  \frametitle{Übersicht}

  \mode<beamer>{\tableofcontents[hideallsubsections]}
  \mode<handout>{\tableofcontents}
}

\include{part1}

\include{part2}

\section*{Ende}

\frame
{
  \frametitle{Quellen}
   
   \begin{itemize}
		\item Health Market Science, RMIIO, http://openhms.sourceforge.net/rmiio/
		\item Oracle Corp., Java RMI Tutorial, http://docs.oracle.com/javase/tutorial/rmi/index.html
	\end{itemize}
	\vfill
	Bilder: 
	\begin{itemize}
		\item WIKIPEDIA, RMI Schema,  http://de.wikipedia.org/w/index.php?title=Datei:RMISchema.gif
	\end{itemize}
}

\frame
{
  \frametitle{Ende}
  \begin{center}
    \Huge Danke für die Aufmerksamkeit!
    \vfill
    \includegraphics[width=3cm]{Bilder/face-smile}
  \end{center}
}

\end{document}
